import React, { useRef } from 'react';
import WrappedForm from './form';

const KeywordFroms = ({ keywords = [1,2,3], updateNewsCb }) => {
    return (
        <>
            {keywords.map((row, index) => <WrappedForm updateNewsCb={updateNewsCb} row={row} idx={index} key={`${index}`}/>)}
        </>
    )
}

export default KeywordFroms;